import Vue from 'vue'
import App from './App'

// 1.封装request 模块
import { request } from './network/http'

Vue.config.productionTip = false

// 2.使用request模块
request({
  url: '/admin/test/arraytest1'
})
  .then(res => {
    console.log(res)
  })
  .catch(err => {
    console.log(err)
  })

/* eslint-disable no-new */
new Vue({
  el: '#app',
  render: h => h(App)
})
